﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace KUMC.Neurology.SomatoTopo
{
    [Serializable]
    public class Subject
    {
        /*
         * Member Variable
         * */
        private string[] m_Option = null;
        private int[] m_Dist = null;

        /*
         * Constructor
         * */
        public Subject(string[] option, int width, int height)
        {
            m_Option = option;
            m_Dist = new int[width * height];
        }
        public Subject(string[] option, Size size)
            : this(option, size.Width, size.Height)
        {
        }
        public Subject(string[] option, int[] distribution)
        {
            m_Option = option;
            m_Dist = distribution;
        }

        /*
         * Methods
         * */
        public string[] GetRow()
        {
            return this.m_Option.ToArray();
        }

        /*
         * Getter
         * */
        public string[] Option { get { return m_Option; } set { m_Option = value; } }
        public int[] Distribution { get { return m_Dist; } set { m_Dist = value; } }
    }
}
